package com.wh.web.util.log;

import java.io.ByteArrayOutputStream;
import java.io.PrintStream;

public class Logs {

	public static void println(String string) {
		System.out.println(string);
	}

	public static void println(Throwable e) {
		ByteArrayOutputStream bos = new ByteArrayOutputStream();
		e.printStackTrace(new PrintStream(bos));
		System.out.println(new String(bos.toByteArray()));
	}

}
